package com.jy.adscm.operation.base.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2018-11-29
 */
public class JyGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "TID", type = IdType.AUTO)
    private Integer tid;
    private String taskcode;
    private String productgs;
    private String totalgs;
    private String usegs;
    private String typeattribute;
    private String managelevel;
    private String xcway;
    private String xztype;
    private String productnums;
    private String measureunit;
    private String name;
    private String type;
    private String unitprice;
    private String unitpricerange;
    private String qualitysum;
    private String kptype;
    private String kpway;
    private String createperson;
    @TableField(exist = false)
    private String createpersonName;
    private Date createtime;
    private String productuse;
    private String productcode;


    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTaskcode() {
        return taskcode;
    }

    public void setTaskcode(String taskcode) {
        this.taskcode = taskcode;
    }

    public String getProductgs() {
        return productgs;
    }

    public void setProductgs(String productgs) {
        this.productgs = productgs;
    }

    public String getTotalgs() {
        return totalgs;
    }

    public void setTotalgs(String totalgs) {
        this.totalgs = totalgs;
    }

    public String getUsegs() {
        return usegs;
    }

    public void setUsegs(String usegs) {
        this.usegs = usegs;
    }

    public String getTypeattribute() {
        return typeattribute;
    }

    public void setTypeattribute(String typeattribute) {
        this.typeattribute = typeattribute;
    }

    public String getManagelevel() {
        return managelevel;
    }

    public void setManagelevel(String managelevel) {
        this.managelevel = managelevel;
    }

    public String getXcway() {
        return xcway;
    }

    public void setXcway(String xcway) {
        this.xcway = xcway;
    }

    public String getXztype() {
        return xztype;
    }

    public void setXztype(String xztype) {
        this.xztype = xztype;
    }

    public String getProductnums() {
        return productnums;
    }

    public void setProductnums(String productnums) {
        this.productnums = productnums;
    }

    public String getMeasureunit() {
        return measureunit;
    }

    public void setMeasureunit(String measureunit) {
        this.measureunit = measureunit;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUnitprice() {
        return unitprice;
    }

    public void setUnitprice(String unitprice) {
        this.unitprice = unitprice;
    }

    public String getUnitpricerange() {
        return unitpricerange;
    }

    public void setUnitpricerange(String unitpricerange) {
        this.unitpricerange = unitpricerange;
    }

    public String getQualitysum() {
        return qualitysum;
    }

    public void setQualitysum(String qualitysum) {
        this.qualitysum = qualitysum;
    }

    public String getKptype() {
        return kptype;
    }

    public void setKptype(String kptype) {
        this.kptype = kptype;
    }

    public String getKpway() {
        return kpway;
    }

    public void setKpway(String kpway) {
        this.kpway = kpway;
    }

    public String getCreateperson() {
        return createperson;
    }

    public void setCreateperson(String createperson) {
        this.createperson = createperson;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreatetime() {
        return createtime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getProductuse() {
        return productuse;
    }

    public void setProductuse(String productuse) {
        this.productuse = productuse;
    }

    public String getProductcode() {
        return productcode;
    }

    public void setProductcode(String productcode) {
        this.productcode = productcode;
    }

    public String getCreatepersonName() {
        return createpersonName;
    }

    public void setCreatepersonName(String createpersonName) {
        this.createpersonName = createpersonName;
    }

    @Override
    public String toString() {
        return "JyGoods{" +
                "tid=" + tid +
                ", taskcode='" + taskcode + '\'' +
                ", productgs='" + productgs + '\'' +
                ", totalgs='" + totalgs + '\'' +
                ", usegs='" + usegs + '\'' +
                ", typeattribute='" + typeattribute + '\'' +
                ", managelevel='" + managelevel + '\'' +
                ", xcway='" + xcway + '\'' +
                ", xztype='" + xztype + '\'' +
                ", productnums='" + productnums + '\'' +
                ", measureunit='" + measureunit + '\'' +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", unitprice='" + unitprice + '\'' +
                ", unitpricerange='" + unitpricerange + '\'' +
                ", qualitysum='" + qualitysum + '\'' +
                ", kptype='" + kptype + '\'' +
                ", kpway='" + kpway + '\'' +
                ", createperson='" + createperson + '\'' +
                ", createpersonName='" + createpersonName + '\'' +
                ", createtime=" + createtime +
                ", productuse='" + productuse + '\'' +
                ", productcode='" + productcode + '\'' +
                '}';
    }
}
